@import "theme";

.sign-box{
  width: 100%;
  min-height: 300px;
  letter-spacing: 1px;
}
.sign-tab{
  padding: 8px 30px 0;
  overflow: hidden;
  background-color: #f7f7f7;
  border-top-left-radius: @radius;
  border-top-right-radius: @radius;
  li{
    float: left;
    text-align: center;
    margin-right: 35px;
  }
  a{
    line-height: 46px;
    display: inline-block;
    color: @gray33;
    font-size: 18px;
    position: relative;
    padding: 0 6px;
    &:hover{
      color: @blue;
    }
    &.active{
      color: @blue;
      &:before{
        width: 100%;
        height: 4px;
        content: "";
        position: absolute;
        background-color: @blue;
        left: 0;
        bottom: 0;
      }
    }
  }
}
.sign-tips{
  width: 450px;
  line-height: 24px;
  color: @gray33;
  padding: 30px 30px 0;
  margin-bottom: -10px;
}
.sign-title{
  color: #2c2b33;
  font-size: 18px;
  line-height: 46px;
  padding: 8px 30px 0;
  background-color: #f7f7f7;
  border-top-left-radius: @radius;
  border-top-right-radius: @radius;
}
.sign-body{
  padding: 30px;
  min-height: 200px;
  .form-pane{
    display: none;
  }
  .layui-form-item{
    position: relative;
    margin-bottom: 0;
  }
  .layui-input-icon{
    float: left;
    width: 40px;
    padding: 10px 10px 0 5px;
    box-sizing: border-box;
    ~.layui-tips{
      padding-left: 40px;
    }
    .icon{
      width: 25px;
      height: 25px;
      display: inline-block;
      background-image: url("../images/main_icons.png");
      background-repeat: no-repeat;
      &.icon-1{
        background-position: 0 -150px;
      }
      &.icon-2{
        background-position: -25px -150px;
      }
      &.icon-3{
        background-position: -50px -150px;
      }
      &.icon-4{
        background-image: url("../images/icon_4.png");
      }
      &.icon-5{
        background-position: 4px -20px;
      }
    }
  }
  .layui-input-inline{
    width: auto;
    //width: 360px;
    position: relative;
  }
  .layui-input{
    width: 360px;
    height: 46px;
    border: 1px solid @grayEB;
    background-color: #f7f7f7;
    border-radius: @radius;
    font-size: 16px;
    padding-left: 13px;
    &::-webkit-input-placeholder{
      color: @grayCC;
    }
  }
  .layui-input2{
    width: 360px;
    height: 46px;
    line-height: 46px;
    border: 0;
    border-bottom: 1px solid @grayEB;
    font-size: 16px;
    padding-left: 30px;
    box-sizing: border-box;
    &::-webkit-input-placeholder{
      color: @grayCC;
    }
  }
  .icon-pass{
    width: 15px;
    height: 15px;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -7px;
    background: url("../images/main_icons.png") no-repeat 0 -25px;
  }
  .layui-btn{
    width: 150px;
    height: 46px;
    letter-spacing: 2px;
    border-radius: @radius;
    box-shadow: 0 10px 15px rgba(87, 113, 184, .3);
    &.disabled{
      opacity: .6;
      cursor: not-allowed;
    }
  }
  .btn-reg{
    &.layui-btn-disabled{
      color: @white;
      background: @blue;
      opacity: 0.5!important;
    }
  }
  .get-code{
    width: 110px;
    border-radius: @radius;
    background: rgba(41, 183, 203, .7);
    border: 1px solid @green;
    opacity: 1;
    padding: 0;
    box-shadow: none;
    &.layui-btn-disabled{
      color: @white;
      opacity: 0.4!important;
      border: 1px solid @green!important;
      background: rgba(41, 183, 203, .7)!important;
    }
    &:hover{
      background: @green;
    }
  }
  .get-pic{
    width: 100px;
    height: 46px;
    border-radius: @radius;
    display: inline-block;
    background-color: #f7f7f7;
    overflow: hidden;
    img{
      width: 100%;
      height: 100%;
    }
  }
  .pass-switch{
    width: 46px;
    height: 46px;
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    cursor: pointer;
    &.active{
      .icon-eye{
        background-position: -125px 0;
      }
    }
    .icon-eye{
      width: 25px;
      height: 25px;
      display: inline-block;
      margin-top: 10px;
      background: url("../images/main_icons.png") no-repeat -100px 0;
    }
  }
  .layui-tips{
    height: 22px;
    line-height: 22px;
    color: @red;
    font-size: 12px;
  }
  .auto-item{
    line-height: 18px;
  }
  .auto-sign ,.btn-link{
    color: @gray33;
    a{
      &:hover{
        color: @blue;
      }
    }
  }
  .auto-sign{
    float: left;
    cursor: pointer;
    &:before{
      width: 14px;
      height: 14px;
      content: "";
      border: 1px solid @gray33;
      display: inline-block;
      border-radius: 3px;
      box-sizing: border-box;
      vertical-align: -2px;
      margin-right: 8px;
    }
  }
  .auto-cbx:checked + .auto-sign{
    &:before{
      background: url("../images/main_icons.png") no-repeat -38px -14px;
    }
  }
  .layui-form-checkbox[lay-skin=primary]{
    margin-top: 0;
    padding-left: 24px;
    &.layui-form-checked{
      i{
        &:before{
          opacity: 1;
        }
      }
    }
    i{
      border-color: @gray33;
      box-sizing: border-box;
      background: none;
      color: @gray33;
      font-weight: bold;
      font-size: 12px;
      border-radius: 3px;
      &:before{
        opacity: 0;
      }
    }
  }
  .btn-forget-pass{
    float: right;
  }
  .cancel_list{
    li{
      margin-bottom: 15px;
    }
  }
  .layui-form-radio{
    margin: 0;
    line-height: 18px;
    &.layui-form-radioed{
      .layui-icon{
        background-color: @blue;
        border-color: @blue;
      }
    }
    .layui-icon{
      width: 16px;
      height: 16px;
      border: 1px solid #ebebeb;
      background-color: #f7f7f7;
      border-radius: 50%;
      font-size: 0;
      box-sizing: border-box;
    }
  }
}
.sign-extra{
  padding: 0 70px;
  margin-top: -10px;
  .es-tips{
    width: 100%;
    position: relative;
    color: @grayCC;
    text-align: center;
    font-size: 12px;
    &:before, &:after{
      width: 160px;
      height: 1px;
      content: "";
      background-color: @grayEB;
      position: absolute;
      top: 50%;
    }
    &:before{
      left: 0;
    }
    &:after{
      right: 0;
    }
  }
  .es-bar{
    padding: 10px 0 16px;
    text-align: center;
  }
  .link-wexin{
    width: 36px;
    height: 36px;
    background-color: @grayCC;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    transition: all .3s ease-in-out;
    &:hover{
      background-color: #42b035;
    }
  }
  .icon-wexin{
    width: 25px;
    height: 25px;
    display: inline-block;
    background: url("../images/main_icons.png") no-repeat -75px 0;
    margin-top: 5px;
  }
}

//微信支付弹窗
.wechat-modal{
  padding: 20px 0;
  text-align: center;
  .price{
    font-size: 16px;
  }
  .qrcode{
    width: 180px;
    height: 180px;
    background-color: #f0f0f5;
    margin: 10px auto;
  }
  .tips{
    font-size: 12px;
    color: @gray33;
  }
  .restart-btn{
    color: @grayB3;
    margin-top: 25px;
    cursor: pointer;
    &:hover{
      color: @gray33;
    }
    .layui-icon{
      font-size: 14px;
      margin-right: 10px;
    }
  }
}

//全站消息
.message-box{
  letter-spacing: 1px;
  .message-title{
    font-size: 18px;
    line-height: 50px;
    border-bottom: 1px solid #ebebeb;
    padding: 0 30px;
  }
  .message-content{
    min-height: 80px;
    padding: 16px 30px;
    color: @gray33;
  }
}

//弹窗
.il-sign-dialog{
  width: 240px;
  height: 340px;
  background: @white;
  border: 1px solid #e6e6e6;
  box-sizing: border-box;
  position: fixed;
  top: 20%;
  right: 20px;
  border-radius: 5px;
  z-index: 10000;
  .dialog-close{
    width: 20px;
    height: 20px;
    display: inline-block;
    background: url("../images/il_sign_close.png") no-repeat;
    position: absolute;
    right: 10px;
    top: -25px;
    cursor: pointer;
  }
  .dialog-title{
    width: 100%;
    height: 50px;
    background: url("../images/il_sign_bg.jpg") no-repeat;
    font-size: 18px;
    color: @white;
    text-align: center;
    padding-top: 14px;
    font-weight: bold;
    box-sizing: border-box;
  }
  .dialog-box{
    padding: 15px 13px;
  }
  .layui-form-item{
    margin-bottom: 14px;
  }
  .layui-form-label{
    width: 32px;
    padding: 8px 10px 8px 0;
    text-align: left;
    letter-spacing: 2px;
  }
  .layui-input-block{
    margin-left: 42px;
  }
  .layui-input{
    height: 36px;
    border-radius: 5px;
  }
  .item-op{
    text-align: center;
    margin-top: 20px;
  }
  .js-btn-sub{
    height: 40px;
    border-radius: 6px;
  }
}